/*
@Exclude() 排除该属性，不返回给前端
@Expose() 暴露该属性，返回给前端
* */
import { Exclude, Expose } from "class-transformer";
export class UserAuthDto {
  @Exclude()
  id: number;
  @Exclude()
  created: Date;
  @Exclude()
  updated: Date;
  @Exclude()
  pwd: string;
  @Exclude()
  openid: string;
  @Exclude()
  unionid: string;
  @Exclude()
  phone: string;
  @Exclude()
  email: string;
  @Exclude()
  last_login_time: string;
  @Expose()
  token: string;
}
